package com.kingmed.kmss.common.bo.bpmn;

import java.io.InputStream;
import java.io.Serializable;
import java.util.Date;
import java.util.zip.ZipInputStream;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProcessDefinitionBO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6997092975922545792L;
	//

	private String processId;
	private String processKey;
	private String processName;
	private String category;
	private int version;
	private String resourceName;
	private String deploymentId;
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date deployTime;
	//stream通过jackson序列化会出bug
	@JsonIgnore
	private InputStream inputStream;
	//stream通过jackson序列化会出bug
	@JsonIgnore
	private ZipInputStream zipInputStream;

}
